import http from '../http.js'

export function queryTop(params){
	return http.post('/sysToutiaoConsulting/queryByPage',params)
}

export function queryTreeByCode(params){
	return http.get('/sysClassifyManager/queryTreeByCode',params)
}

export function queryByPage(params){
	return http.post('/healthyDataPublish/queryByPage',params)
}

export function queryNewMedia(params){
	return http.post('/newMedia/queryByPage',params)
}

export function querySurvey(params){
	return http.post('/sysActivityManagement/queryByPage',params)
}

export function memberLogin(params){
	return http.post('/member/memberLogin?openId='+uni.getStorageSync('openid_key'),params)
}

export function member(params){
	return http.get('/member/list',params)
}